package sma.behaviour;

import java.util.Set;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import model.Project;

import jade.core.behaviours.CyclicBehaviour;

public class MTStatechartDiscoveryBehaviour extends CyclicBehaviour {

	private static final long serialVersionUID = 6632547369143994464L;

	private static final Logger log = LoggerFactory
			.getLogger(MTStatechartDiscoveryBehaviour.class);

	private Set<Project> projects;

	public MTStatechartDiscoveryBehaviour(Set<Project> projects) {
		this.projects = projects;
	}

	@Override
	public void action() {
		log.debug("action() : current projects.size = "
				+ projects.size());
		block();
	}

}
